package com.wut.clock.dto.admin;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ZYH
 * @unit D9Lab
 * @description 菜单参数
 * @date 2022/5/30 17:32
 */
@Data
public class MenuParams {
    private Integer id;

    @NotBlank(message="菜单名称不能为空")
    private String name;
    private String path;

    private String perms;

    @NotNull(message="菜单上级不能为空")
    private Integer parentId;

    private String icon;

    private Integer sort;

    private String remark;
}
